package com.vibration.baseinfo.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.vibration.common.annotation.Excel;
import com.vibration.common.core.domain.BaseEntity;

/**
 * 水脉分析记录对象 cz_ground_water_record
 * 
 * @author Mr_wu
 * @date 2023-03-20
 */
public class CzGroundWaterRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 记录名称 */
    @Excel(name = "记录名称")
    private String recordName;

    /** 阈值 */
    @Excel(name = "阈值")
    private BigDecimal threshold;

    /** 水流温度 */
    @Excel(name = "水流温度")
    private BigDecimal waterTemperature;

    /** 计算状态 */
    @Excel(name = "计算状态")
    private String calcStatus;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    private String filePath;

    /** 阈值 */
    @Excel(name = "极小值阈值")
    private BigDecimal thresholdmin;

    public BigDecimal getThresholdmin() {
        return thresholdmin;
    }

    public void setThresholdmin(BigDecimal thresholdmin) {
        this.thresholdmin = thresholdmin;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRecordName(String recordName) 
    {
        this.recordName = recordName;
    }

    public String getRecordName() 
    {
        return recordName;
    }
    public void setThreshold(BigDecimal threshold) 
    {
        this.threshold = threshold;
    }

    public BigDecimal getThreshold() 
    {
        return threshold;
    }
    public void setWaterTemperature(BigDecimal waterTemperature) 
    {
        this.waterTemperature = waterTemperature;
    }

    public BigDecimal getWaterTemperature() 
    {
        return waterTemperature;
    }
    public void setCalcStatus(String calcStatus) 
    {
        this.calcStatus = calcStatus;
    }

    public String getCalcStatus() 
    {
        return calcStatus;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("recordName", getRecordName())
            .append("threshold", getThreshold())
            .append("waterTemperature", getWaterTemperature())
            .append("calcStatus", getCalcStatus())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
